package org.autotestcase.swing;

import prefuse.action.assignment.ColorAction;
import prefuse.util.ColorLib;
import prefuse.visual.EdgeItem;
import prefuse.visual.VisualItem;

/**
 * Set edge text colors
 */
public class EdgeColorAction extends ColorAction {
    public EdgeColorAction(String group) {
        super(group, VisualItem.STROKECOLOR, ColorLib.rgb(200, 200, 200));
        add("_hover", ColorLib.rgb(255,0,0));
        add("ingroup('_focus_')", ColorLib.rgb(155,0,0));
    }
} // end of class EdgeColorAction
